package com.caiyi.tips.user.DTO;

import com.caiyi.tips.user.bean.SmsBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/*
 * 短信数据对象
 * @author Cliff.ZhouYang
 * @date 2017/11/20 14:56
 */
@Data
@ApiModel(value = "短信数据交互对象")
public class SmsDTO extends SmsBean {
    @ApiModelProperty(value = "手机号", required = true)
    private String phone;

    @ApiModelProperty(value = "图形验证码", hidden = true)
    private String imgYzm;//图形验证码

    @ApiModelProperty(value = "发送短信验证码次数", hidden = true)
    private int count;//发送短信验证码次数.

    @ApiModelProperty(value = "短信记录创建时间", hidden = true)
    private Date createDate;//创建时间.
}